<div id="container">
<form method="post" name="msg">
<table width="960"  cellpadding="0" cellspacing="0" border="0" id="table_msgbard">
<tr><th height="40" style="text-align:center;">你好！欢迎进入IBM俱乐部留言板！&nbsp;&nbsp;
<input type="button" value="发表留言" name="newpost" onclick="window.location.reload('msg_newpost.php');" />&nbsp;&nbsp;
</th></tr>
<tr height="500" style="vertical-align:top;"><td>
<br /> 
{{section name=index loop=$msgrows}}
<table cellpadding="0" cellspacing="0" id="table_msg"><tr>
<td rowspan="2" width="100px" style="text-align:center; vertical-align:top; background-color:#333333;">
<img src="pics/head.gif" name="touxiang" width="90px" height="100px" alt="" /><br />
</td>
<th>主题:{{$msgrows[index].ptitle}}<br />
<font color="#AFD1D6">发表者:{{$msgrows[index].uname}}&nbsp;&nbsp;&nbsp;
发表时间:{{$msgrows[index].ptime}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
回复数：{{$msgrows[index].replies}}</font></th>
<th width="100" style="text-align:left; vertical-align:middle; padding-left:0;">
<a id="a2" href="reply.php?postid={{$msgrows[index].postid}}">回复</a></th></tr>
<tr><td colspan="2">{{$msgrows[index].msg}}</td></tr></table><br />

{{section name=index loop=$replyrows}}
<table id="table_reply" border="0" cellpadding="0" cellspacing="0">
<tr>
<th rowspan="2"><img src="pics/head.gif" name="touxiang" width="50px" height="60px" alt="" /></th>
<td height="45"><font color="#377D67"><strong>{{$replyrows[index].uname}}</strong></font>&nbsp;&nbsp;&nbsp;{{$replyrows[index].rmsg}}</td></tr>
<tr  height="25"><td><font color="#377D67">{{$replyrows[index].rtime}}</font></td></tr></table><br />
{{/section}}
{{/section}}
</td></tr></table></form>
</div>
